package com.xypower.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 类名:
 * 作者:XY
 * 创建时间:2021/11/14-13:58
 * 功能:
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
@Table(name = "companyInfo")
public class CompanyInfo implements Serializable {
    @Id
    private Integer cid;
    @Column(name = "compName")
    private String compName;
    @Column(name = "ownerName")
    private String ownerName;
    @Column(name = "ownerTel")
    private String ownerTel;
    @Column(name = "compInfo")
    private String compInfo;
}
